package cn.ift8.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * Created by IFT8
 * on 2015/8/24.
 */
public class ThingOrder implements Serializable {
    private Long oid;
    //状态
    private String state;
    //订单时间
    private Date date;
    //订单物品
    private Set<Thing> orderThings;

    public ThingOrder(Date date, Set<Thing> orderThings) {
        this.date = date;
        this.orderThings = orderThings;
    }

    public ThingOrder() {
    }

    public Set<Thing> getOrderThings() {
        return orderThings;
    }

    public void setOrderThings(Set<Thing> orderThings) {
        this.orderThings = orderThings;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getOid() {
        return oid;
    }

    public void setOid(Long oid) {
        this.oid = oid;
    }
}
